package com.ymttest.database.sharding.db.sharding.mapper;

import com.ymttest.database.sharding.db.sharding.model.OrderDetailSubCodeExample;
import com.ymttest.database.sharding.db.sharding.model.OrderDetailSubCodePo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderDetailSubCodeMapper {
    int countByExample(OrderDetailSubCodeExample example);

    int deleteByExample(OrderDetailSubCodeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OrderDetailSubCodePo record);

    int insertSelective(OrderDetailSubCodePo record);

    List<OrderDetailSubCodePo> selectByExample(OrderDetailSubCodeExample example);

    OrderDetailSubCodePo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OrderDetailSubCodePo record, @Param("example") OrderDetailSubCodeExample example);

    int updateByExample(@Param("record") OrderDetailSubCodePo record, @Param("example") OrderDetailSubCodeExample example);

    int updateByPrimaryKeySelective(OrderDetailSubCodePo record);

    int updateByPrimaryKey(OrderDetailSubCodePo record);
}